package com.citysky.member.domain;

import com.citysky.common.domain.BaseDO;
import com.citysky.course.common.CourseType;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户的落地权利，一般就是用户购买了相关的课程后所得到的数据集合。
 * @author Ralf
 * @since 2018-11-22 17:40.
 * Copyright (c) 2015-2017 wlqq.com. All Rights Reserved.
 */
@Table(name = "customer_right")
@Data
public class CustomerRightDO extends BaseDO{
    @Id
    private Long id;

    private Long customerId;

    private CourseType type;

    /**
     * 课程或者是教学的ID
     */
    private Long typeId;
}
